<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>影楼后台管理</title>
    <link rel="stylesheet" href="__PUBLIC__/common/css/pintuer.css">
    <link rel="stylesheet" href="__PUBLIC__/admin/css/admin.css">
    <script src="__PUBLIC__/js/jquery.js"></script>
    <script src="__PUBLIC__/common/js/pintuer.js"></script>
    <script src="__PUBLIC__/common/js/respond.js"></script>
    <script src="__PUBLIC__/admin/js/admin.js"></script>
    <script>
    var baseDir='__PUBLIC__/js/';
    var rootUrl="__ROOT__/";
    var appUrl='__APP__/';
    var sessId='{session_id()}';
    </script>
    <script src="__PUBLIC__/js/jquery.js"></script>
    <script src="__PUBLIC__/admin/js/admin.js"></script>
    <script src="__PUBLIC__/js/do.js"></script>
    <script src="__PUBLIC__/js/config.js"></script>
</head>
<body>
    <div class="dux-head clearfix">
        <div class="dux-logo">
            <a href="http://www.duxcms.com" target="_blank">
                <img src="__PUBLIC__/admin/images/logo.png" alt="DuxCms后台管理系统" />
            </a>
            <button class="button icon-navicon admin-nav-btn" data-target=".admin-nav"></button>
            <button class="button icon-navicon icon-ellipsis-v admin-menu-btn" data-target=".admin-menu"></button>
        </div>
        <div class="dux-nav">
            <ul class="nav  nav-navicon nav-inline admin-nav nav-menu">
                <volist name="menuList['list']"  id="val">
                    <if condition=" $val['cur']  neq '' ">
                        <li class="active">
                    <else/>
                        <li>
                    </if>
                    <if condition=" $val['url']  neq '' ">
                        <a href="javascript:;" class="dropdown-toggle">
                            <em class="icon-{$val.icon}"></em>
                            {$val['name']}
                            <span class="downward"></span>
                        </a>
                        <ul class="drop-menu">
                            <volist name="val['menu']" id="v">
                                <li>
                                    <a href="{$v['url']}">{$v['name']}</a> 
                                </li>
                            </volist>
                        </ul>
                    </if>
                </volist>
            </ul>
            <ul class="nav  nav-navicon nav-menu nav-inline admin-nav nav-tool">
               <li> <a href="__ROOT__/" target="_blank" class="icon-home"></a></li>
                <li> <a href="{:U('Admin/AdminUser/edit',array('user_id'=>$loginUserInfo['user_id']))}" class="icon-user"></a></li>
                <li> <a href="{:U('Admin/Login/logout')}" class="dux-logout bg-red icon-power-off"></a></li>
            </ul>
        </div>
    </div>
    <div class="dux-admin">
        <div class="dux-tools">
            <div class="bread-head">{$infoModule['info']['name']}
                <span class="small">{$infoModule['info']['description']}</span>
            </div>
            <if condition="$infoModule['menu']  neq '' ">
                <br>
                <div class="tools-function clearfix">
                    <div class="float-left">
                       <volist name="infoModule['menu']" id="val">
                             <if condition="($val['url'] == $self) or ($val['url'] == $url) or (stristr($val['url'],U()))">    
                                <a class="button button-small bg-main icon-{$val['icon']}" href="{$val['url']}">
                            <else/>
                                <a class="button button-small bg-back icon-{$val['icon']}" href="{$val['url']}">
                            </if>
                                 {$val['name']}
                                </a>
                        </volist>
                    </div>
                    <if condition="$infoModule['add']  neq ''">
                        <div class="button-group float-right">
                            <a class="button button-small bg-dot icon-plus dropdown-toggle"> 添加 
                                <span class="downward"></span>
                            </a> 
                            <ul class="drop-menu pull-right">
                               <volist name="infoModule['add']" id="val">
                                    <li>
                                      <a href="{$val['url']}">{$val['name']}</a>
                                    </li>
                                </volist>
                            </ul>
                        </div>
                    </if>
                </div>
            </if>
        </div>
        <br>
        <!--common-->
    </div>
</body>
</html>